//
//  YMTestReportTopInforCell.m
//  YMMedical
//
//  Created by y s on 2023/7/21.
//

#import "YMTestReportTopInforCell.h"
#import "YMTestReportTopInforView.h"

@interface YMTestReportTopInforCell ()

@property (nonatomic, strong) YMTestReportTopInforView *vInfor;

@end

@implementation YMTestReportTopInforCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self setUI];
    }
    return self;
}

#pragma mark - UI methods
- (void)setUI{
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.contentView.backgroundColor = [UIColor clearColor];
    self.backgroundColor = [UIColor clearColor];
    [self.contentView addSubview:self.vInfor];
    [self.vInfor mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_equalTo(0);
    }];
    
}

#pragma mark - public methods
- (void)setDict:(NSDictionary *)dict{
    _dict = dict;
    self.vInfor.dict = dict;
}

#pragma mark - Event Action


#pragma mark - setter and getter
- (YMTestReportTopInforView *)vInfor{
    if (_vInfor == nil){
        _vInfor = [[YMTestReportTopInforView alloc] init];
    }
    return _vInfor;
}

@end
